package change;

import affilication.Affiliation;
import domain.Employee;

public abstract class ChangeAffiliationTransaction extends ChangeEmployeeTransaction {
    public ChangeAffiliationTransaction(int empId) {
        super(empId);
    }

    @Override
    public void change(Employee employee) {
        employee.setAffiliation(getAffiliation());
    }

    public abstract Affiliation getAffiliation();
}
